<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title>
    <script type="text/javascript" src='angular.js'></script>
</head>
<script type="text/javascript">
	//a = 10,b = 20;
	/*
	setTimeout(function(){
		alert(a);
	},3000);
	*/
</script>
<body ng-app=''>
<input ng-model='a' type="number">+<input ng-model='b' type="number">=<div>{{a+b}}</div>

</body>
</html>